package flex.cc.nursing.dto.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * ClassName: RequestDto
 * Description: 请求报文
 * Date: 2021/12/5 15:58 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Setter
@Getter
@ApiModel("请求报文")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Request<T> {

    /**
     * 请求头
     */
    @ApiModelProperty(value = "请求头", required = true)
    private RequestHead common;

    /**
     * 请求体
     */
    @JsonProperty("bus_body")
    @ApiModelProperty(value = "请求报文体", required = true)
    private T body;

}
